package com.xj.admin.bussiness.machineryInfo.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
        import com.xj.admin.bussiness.insure.service.ITbInsureService;
        import com.xj.admin.bussiness.machineryInfo.service.ITbMachineryInfoService;
        import com.xj.common.bussiness.machinery.entity.TbMachineryInfo;
        import com.xj.common.bussiness.machinery.mapper.TbMachineryInfoMapper;
        import org.springframework.beans.factory.annotation.Autowired;
        import org.springframework.stereotype.Service;

        import java.util.List;

/**
 * 根据档案表字段查询所有信息
 */
@Service
public class TbMachineryInfoServiceImpl extends ServiceImpl<TbMachineryInfoMapper, TbMachineryInfo> implements ITbMachineryInfoService{

    @Autowired
    private TbMachineryInfoMapper tbMachineryInfoMapper;
    @Override
    public List<TbMachineryInfo> searchMachineryInfoList(TbMachineryInfo tbMachineryInfo) {
        return tbMachineryInfoMapper.searchMachineryInfoList(tbMachineryInfo);
    }

    @Override
    public TbMachineryInfo selectIdentityNum(String identityNum) {
        return tbMachineryInfoMapper.selectIdentityNum(identityNum);
    }
}
